import requests

#发送请求参数据
response = requests.get(url="http://kdtx-test.itheima.net/api/captchaImage")

#查看响应
print(response.text)
print(response.status_code)